﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DbProject.Models
{
    [Table("TimeStampTable")]
    public class WorkerTimeStampModel
    {
        [Key]
        [DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)]
        [DisplayName("קוד")]
        public int Id { set; get; }

        [DisplayName("מזהה עובד")]
        public int WorkerId { set; get; }

        [DisplayName("כניסה")]
        public DateTime LogIn { set; get; }

        [DisplayName("יציאה")]
        public DateTime LogOut { set; get; }

        [DisplayName("סיבות לחוסר החתמה")]
        public int NoSignReasons{ set; get; }

    }
}
